/* 快速布局样式 */

/* 宽度 */
.w1 {
    width: 10%;
}

.w2 {
    width: 20%;
}

.w3 {
    width: 30%;
}

.w5 {
    width: 50%;
}

.w10 {
    width: 100%;
}
/* 定位 */
.pos-fmt {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.pos-ct{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);    
}
.pos-md{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);    
}
.pos-mc{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);    
}
/* 弹性盒 */
.flex {
    display: flex;
}

.flex-md {
    display: flex;
    align-items: center;
}

.flex-ct {
    display: flex;
    justify-content: center;
}

.flex-dir-column {
    flex-direction: column;
}

.flex-sb {
    display: flex;
    justify-content: space-between;
}

.flex-sa {
    display: flex;
    justify-content: space-around;
}

.flex-mc {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-item-start {
    align-self: flex-start;
}

.flex-item-1 {
    flex: 1;
}

.flex-item-2 {
    flex: 2;
}

.flex-item-3 {
    flex: 3;
}
.flex-item-4 {
    flex: 4;
}


/* 边距 */
.pd15 {
    padding: 0 15px;
}
.pd10 {
    padding: 0 10px;
}
.pd5 {
    padding: 0 5px;
}
.mg15 {
    margin: 15px 0;
}
.mg10 {
    margin: 10px 0;
}
.mg5 {
    margin: 5px 0;
}

/* 背景相关 */
.bg-white {
    background: #fff;
}

.bg-red {
    background: red;
}

.bg-green {
    color: white;
    background-color: #1AAD19;
}

.bg-blue {
    color: white;
    background-color: #1998AD;
}

.bg-lgreen {
    background-color: lightgreen;
}

.bg-lred {
    background-color: lightcoral;
}


.color-blue {
    color: #007FA1;
}

.color-cyan {
    color: #57DFF5;
}

.color-orange {
    color: #ff6101;
}

.color-red {
    color: #FF0101;
}

.color-gray {
    color: #ccc;
}

.color-white {
    color: #fff;
}

.color-lgreen {
    color: lightgreen;
}

.color-green {
    color: #1AAD19;
}

/* 文字相关 */
.txt-ct {
    text-align: center;
}

.txt-left {
    text-align: left;
}

.txt-right {
    text-align: right;
}
.txt-justify {
    text-align: justify;
}

/*单行超出隐藏*/
.single-text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*多行超出隐藏*/
.multiple-text-overflow {
    overflow: hidden;
    white-space: normal !important;
    text-overflow: ellipsis;
    display: -moz-box;
    display: -o-box;
    display: -webkit-box;
    -moz-line-clamp: 2;
    -o-line-clamp: 2;
    -webkit-line-clamp: 2;
    -moz-box-orient: vertical;
    -o-box-orient: vertical;
    -webkit-box-orient: vertical;
}

/* 字体大小 */
.font-mini,
.font12 {
    font-size: 12px;
}

.font-small,
.font14 {
    font-size: 14px;
}

.font-normal,
.font16 {
    font-size: 16px;
}

.font-impact,
.font24 {
    font-size: 24px;
}

.font-title,
.font18 {
    font-size: 18px;
}

.font28 {
    font-size: 28px;
}

.font30 {
    font-size: 30px;
}


/*weight-bold*/
.font-wb {
    font-weight: bold;
}

/*weight-normal*/
.font-wn{
    font-weight: normal;
}
.border-blue {
    border: 1px solid #007FA1;
}
.btn {
    border-radius: 3px;
    padding: 5px 10px;
    border: 1px solid #007FA1;
    color: #007FA1;
    transition: border color 0.2s;
}
.btn:hover {
    border: 1px solid rgb(30, 151, 185);
    color: rgb(30, 151, 185);
    box-shadow: 0 0 6px rgba(30, 151, 185, 0.7);
}
.opct5 {
    opacity: 0.5;
}
.opct0 {
    opacity: 0;
}

/* 边框 */
.border-top-dash {
    border-top: 1px dashed #fff;
}

.border-bottom-dash {
    border-bottom: 1px dashed #fff;
}

.card {
    padding: 18px 25px;
    border: 1px solid #284B62;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(1, 108, 97, .3) inset;
}
/* 其他 */
.desc {
    color: #369;
    font-size: 14px;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.clear {
    clear: both;
}
.hide{
    display: none;
}
